/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    /*height:100%;*/
}
body{
	background-color: #333;
	position: relative;
	/*height:100%;*/
	
}
html,body{height:100%;}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    
    
}
	/*头部样式*/
	
    header{
	   	color: #fff;
	   	background: rgba(71,68,67,1);
	   	padding: 10px 0px;
	   	height: 105px;
    }
    .navbar-collapse, .navbar-default .navbar-form {
	    border-color: #e7e7e7;
	    background: rgba(71,68,67,1);
	}
	#mynavbar ul{
		margin-top: 15px;
	}
    /*header .col-md-4{
    	width: 100%;
    }*/
    .logo{
    	float: left;
    	margin: 10px 10px 10px 0px;
    }
    
    .site-name{
    	font-size: 36px;
    	/*transition: font-size 1s;*/
    	transition: all 0.3s ease-in-out;
    }
    
    .site-slogan{
    	font-size: 12px;
    }
    
    .site-name a{
    	color: #fff;
    }
    header .col-md-8{
    	margin-top: 15px;
    }
    .col-md-8 .navbar-default{
    	background-color: transparent;
    	border: none;
    }
    header .navbar-default .navbar-nav>li>a {
   		color: #fff;
   		font-size: 18px;
	}
	header .navbar-default .navbar-nav>li>a:hover {
   		color: #55acee;
	}
	header .navbar-default .navbar-nav>li.active a,header .navbar-default .navbar-nav>.active>a:hover{
		background-color: transparent;
		color:#55acee ;
	}
	/*.test{
		height: 100px;
		background: lavender;
	}*/
	.fiexed-header-on header{
		height: 78px;
		background: rgba(71,68,67,1);
	}
	.fiexed-header-on .site-name .col-md-8{
		margin-top: 5px;
	}
	.fiexed-header-on .site-name{
		font-size: 24px;
	}
	.fiexed-header-on .logo{
		transform: scale(0.8);
		margin-top: 0;
		margin-bottom: 0;
	}
	.fiexed-header-on .col-md-8{
		margin-top: 0px;
	}
	
	/*首页*/
	.index h3,.index p{
		color: #fff;
		/*font-size: 22px;*/
		font-size: 2rem;
	}
	.index h2{
		color:#55acee ;
		font-size: 40px;
		font-weight: 700px;
	}
	#index{
		width: 100%;
		/*height: 678px;*/
		height: 100%;
		position: relative;
		/*margin-top: 105px;*/
		/*background: rgba(0,0,0,0.2);*/
		overflow: hidden;
	}
	.index::after{
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		content: '';
		background: rgba(0,0,0,0.3);
		
	}
	.infotext{
		padding-top: 280px;
	}
	.space{
		padding: 20px;
	}
	#about{
		width: 100%;
		/*height: 100%;*/
		/*overflow: visible;*/
		/*padding: 0px 0px;*/
		padding-top: 60px;
	}
	.about .list-unstyled li{
		padding: 5px 0;
	}
	.about .list-unstyled li i{
		color:#55acee ;
	}
	.panel-default>.panel-heading{
		padding: 0;
	}
	.panel-default>.panel-heading a{
		display: inline-block;
		width: 100%;
		background-color:#55acee ;
		color: #fff;
		position: relative;
		text-decoration: none;
		padding: 12px 15px;
	}
	.panel-default>.panel-heading a::after{
		font-family:fontawesome;
		content:'\f147' ;
		position: absolute;
		right: 15px;
		font-size: 14px;
		top: 35%;
	}
	.panel-default>.panel-heading a.collapsed{
		background-color: #333;
	}
	.panel-default>.panel-heading a.collapsed::after{
		content: '\f196';
	}
	.panel-default>.panel-heading a:hover{
		background-color: #55acee;
	}
	#service{
		width: 100%;
		/*height: 100%;*/
		/*overflow: hidden;*/
		margin-top: 50px;
		padding-top: 60px;
		background: url(../img/bg7.jpg) no-repeat center;
		background-size: 100% 140%;
		position: relative;
		font-weight: 400;
		/*color: #fff;*/
	}
	/*.service::before{
		position: absolute;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		width: 100%;
		height: 100%;
		content: '';
		background-color: rgba(225,225,225,0.3);
	}*/
	.service h1{
		font-weight: 400;
	}
	.service i{
		transform: scale(0.8);
	}
	.together{
		height: 90px;
		background-color: 	#D3D3D3;
		padding: 0;
	}
	.together h1{
		line-height: 60px;
		font-size: 2.5rem;
	}
	#portfolio{
		width: 100%;
		/*height: 100%;*/
		/*overflow: hidden;*/
		padding-bottom: 150px;
	}#portfolio h1{
		font-size: 36px;
		font-weight: 400;
	}
	#portfolio .filter li{
		float: none;
		display: inline-block;
	}
	#portfolio .overlay-container{
		position: relative;
	}
	#portfolio .overlay{
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: rgba(0,0,0,0.5);
		cursor: pointer;
		transform: scale(0.8);
		transition: all 0.2s;
		opacity: 0;
	}
	#portfolio .overlay i{
		position: absolute;
		left: 45%;
		top: 40%;
		font-size: 18px;
		color: #fff;
	}
	#portfolio .overlay span{
		position: absolute;
		bottom: 10px;
		font-size: 13px;
		color: #fff;
		text-align: center;
		width: 100%;
	}
	#portfolio .overlay-container:hover .overlay{
		transform: scale(1);
		opacity: 1;
	}
	#portfolio .modal-header{
		background:darkgray;
		color: #fff;
	}
	#portfolio .close{
		color: #fff;
		opacity: 0.6;
	}

	#authentication{
		padding-bottom: 110px;
		width: 100%;
		/*height: 100%;*/
		position: relative;
		background: url(../img/authentication2.jpg) no-repeat top;
		background-size: 100% 130%;
	}
	#authentication::before{
		position: absolute;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
		width: 100%;
		height: 100%;
		content: '';
		background: rgba(255,255,255,0.1);
	}
	#authentication{
		color: #245580;
		/*color: #fff;*/
		font-weight: 400;
	}
	#authentication h1{
		font-size: 36px;
		font-weight: 700;
	}
	#authentication blockquote{
		border-left: none;
		padding-left: 0;
	}
	#authentication footer{
		font-weight: 300;
		color: #245580;
		/*color: #fff;*/
	}
	#authentication #ad{
		float: left;
		padding: 10px 0;
		width: 100%;
		position: absolute;
		bottom: 0;
		background: rgba(35,82,124,0.7);
	}
	#contact {
		width: 100%;
		/*height: 100%;*/
	}
	#contact row{
		font-size: 22px
	}
	#contact ul{
		list-style: none;
		padding: 0;
	}
	#contact ul li{
		margin: 20px 0;
	}
	#contact .links li{
		float: left;
		font-size: 36px;
		margin: 15px 23px 15px 0;
	}
	#contact .links li a{
		color: blue;
	}
	#contact span{
		padding-top: 10px;
	}
	footer{
		width: 100%;
		margin: 40px 0;
	}
